#pragma once

#include <QDialog>
#include "ui_TCPClientDlg.h"
#include "BaseDlg.h"

class TCPClientDlg : public BaseDlg
{
	Q_OBJECT

public:
	TCPClientDlg(QWidget *parent = Q_NULLPTR);
	~TCPClientDlg();
	bool get_info(ChannelCreateInfo& info) override;
public slots:
	void RecvDataChanged(int index);
	void togglog_sync(bool b);
//
//signals:
//	void sigDisConnect(const ConnInfo& preInfo, const ConnInfo& info);
//	void sigConnInfo(const ConnInfo& curInfo, const ConnInfo& preInfo, bool bNew);
//
//private slots:
//	void slotCheck();
//	void slotApply();
private:
	Ui::TCPClientDlg ui;
};
